package com.kehutong.payment.entity;

import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import com.kehutong.payment.enums.PayTypeEnum;

public class BaseThirdOrder extends Entity {

	private static final long serialVersionUID = 3769641814738339886L;

	protected BaseThirdOrder(String id) {
        super(id);
    }

    @Column(comment = "服务商AppId")
    private String appId;
    @Column(comment = "子商户绑定AppId")
    private String subAppId;
    @Column(comment = "服务商mchId")
    private String mchId;
    @Column(comment = "服务商子mchId")
    private String subMchId;

    @Column(comment = "支付类型")
    private PayTypeEnum payType;
    @Column(comment = "订单金额，单位分")
    private int orderFee;
    @Column(comment = "回调地址")
    private String callbackUrl;
    // 业务数据
    @Column(comment = "小区编号")
    private String communityNo;
    @Column(comment = "企业编号")
    private String companyNo;
    @Column(comment = "通知次数")
    private int sendCount;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getSubMchId() {
        return subMchId;
    }

    public void setSubMchId(String subMchId) {
        this.subMchId = subMchId;
    }

    public PayTypeEnum getPayType() {
        return payType;
    }

    public void setPayType(PayTypeEnum payType) {
        this.payType = payType;
    }

    public int getOrderFee() {
        return orderFee;
    }

    public void setOrderFee(int orderFee) {
        this.orderFee = orderFee;
    }

    public String getCallbackUrl() {
        return callbackUrl;
    }

    public void setCallbackUrl(String callbackUrl) {
        this.callbackUrl = callbackUrl;
    }

    public String getCommunityNo() {
        return communityNo;
    }

    public void setCommunityNo(String communityNo) {
        this.communityNo = communityNo;
    }

    public String getCompanyNo() {
        return companyNo;
    }

    public void setCompanyNo(String companyNo) {
        this.companyNo = companyNo;
    }

    public int getSendCount() {
        return sendCount;
    }

    public void setSendCount(int sendCount) {
        this.sendCount = sendCount;
    }

    public String getSubAppId() {
        return subAppId;
    }

    public void setSubAppId(String subAppId) {
        this.subAppId = subAppId;
    }
}
